---
title: Overview
description: The store is a global state that can be used to access the consent manager's state.
lastModified: 2025-08-20
availableIn:
  - framework: 'javascript'
    url: '/docs/frameworks/javascript/store/overview'
    title: 'JavaScript'
  - framework: 'next'
    url: '/docs/frameworks/next/hooks/use-consent-manager/overview'
    title: 'Next.js'
  - framework: 'react'
    url: '/docs/frameworks/react/hooks/use-consent-manager/overview'
    title: 'React'
---

<import>../shared/store/overview.mdx#overview</import>

## Usage

```ts
import { createConsentManagerStore } from 'c15t';

const store = createConsentManagerStore(consentManager);

const hasFunctionality = store.getState().has('functionality');
```

## Returns

<import>../shared/store/overview.mdx#returns</import>
